package com.ls.lserp.modules.produce.dao;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.produce.entity.ProduceWorkticketEntity;
import com.ls.lserp.modules.produce.entity.WorkticketEntity;

import java.util.List;

@MyBatisDao
public interface ProduceWorkticketDao extends CrudDao<ProduceWorkticketEntity>{
    
    public List<ProduceWorkticketEntity> findGroupList();
    
    public List<ProduceWorkticketEntity> findOperatingList();

	public List<WorkticketEntity> findProduceWorkticketList(WorkticketEntity workticketEntity);
	//	通过用户ID获取工票明细
	public List<ProduceWorkticketEntity> findDetailList(ProduceWorkticketEntity produceWorkticketEntity);
	//获取员工工作量
	public String getNumOfPkg(ProduceWorkticketEntity produceWorkticketEntity);
	//通过订单号获取工时信息
	public List<ProduceWorkticketEntity> findListByOrder(ProduceWorkticketEntity produceWorkticketEntity);
	
}
